EssentialBlocks\blocks\TableOfContents B

Total Complexity 85
Dependencies 2
Dependents 0
Total lines 392
Lines of code 258
Logical lines of code 176
Comment lines 67
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
render_callback()
D
27
42 110
getHeadersFromContent()
A
46 10 39
getHeadingsFromHeadingElements()
A
47 10 36
generate_toc()
A
49 9 30
get_editor_type()
S
60 8 12
parseTocSlug()
S
58 2 16
areAllFalse()
S
72 2 5
get_name()
S
82 1 3
register_scripts()
S
70 1 7